<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://displaytag.sf.net/el" prefix="display" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
  <head>
    <html:base />
    
    <title>Allhouseinformation.jsp</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    房屋信息管理页面 <br>
    	<display:table name="house_list" pagesize="10" export="true" id="house"
        			   requestURI="tomanagehouseinformationpage.do">
        <display:setProperty name="export.excel.filename">
        <%=new String("房屋列表.xls".getBytes("GBK"),"ISO-8859-1") %>
        </display:setProperty>
        <display:column property="user_id" title="用户id"/>
        <display:column property="house_id" title="房屋id"/>
        <display:column property="house_title" title="房屋标题"/>
        <display:column property="region" title="地区"/>
        <display:column property="house_type" title="房屋类型"/>
        <display:column property="mark" title="是否置顶" media="html"/>
        <display:column property="watch" title="信息验证" media="html"/>
        <display:column property="allow" title="信息发布许可" media="html"/>
        <display:column property="lease" title="租赁情况"/>
        <display:column title="操作"  media="html">
     	<html:link action="/tomanagesinglehouseinformationpage"  paramName="house" paramId="house_id" paramProperty="house_id">更改信息</html:link>
     	</display:column>
     	<display:column title="操作"  media="html">
     	<html:link action="/deletehouse"  paramName="house" paramId="house_id" paramProperty="house_id">删除房屋</html:link>
     	</display:column>
        </display:table>
        <html:form action="/searchhouse" method="post">
        <table>
        <tr>
        <td>是否置顶</td>
        <td><html:select property="mark" name="houseForm" value="请选择">
           	<html:option value="请选择">请选择</html:option>
           	<html:option value="申请置顶">申请置顶</html:option>
           	</html:select>
        </td>
        </tr>
        <tr>
        <td>房屋是否已验证</td>
        <td><html:select property="watch" name="houseForm" value="请选择">
           	<html:option value="请选择">请选择</html:option>
           	<html:option value="申请验证">申请验证</html:option>
           	</html:select>
        </td>
        </tr>
        <tr>
        <td>是否允许发布</td>
        <td><html:select property="allow" name="houseForm" value="请选择">
           	<html:option value="请选择">请选择</html:option>
           	<html:option value="未付款">未付款</html:option>
           	</html:select>
        </td>
        </tr>
        <tr>
        <td align="center">
        <html:submit value="搜索"/>
        <br></td>
        <td>
        <html:link action="tomanagehouseinformationpage">显示全部房屋</html:link>
        </td>
        </tr>
        </table>
        </html:form>
  </body>
</html:html>
